
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 RmsBusinessClosingConfig 分页列表
*/
export function getRmsBusinessClosingConfigPagination(data: any) {
  return axios.get(`${context}/rmsBusinessClosingConfig/pagination`, { params: data });
}


/**
 * 获取 RmsBusinessClosingConfig 所有数据
*/
export function getRmsBusinessClosingConfigAllList(data: any) {
  return axios.get(`${context}/rmsBusinessClosingConfig/all`, { params: data });
}


/**
 * 获取 RmsBusinessClosingConfig 详情
*/
export function getRmsBusinessClosingConfigDetailById(id: any) {
  return axios.get(`${context}/rmsBusinessClosingConfig/${id}`, { params:{id} });
}


/**
 * 新增 RmsBusinessClosingConfig
*/
export function addRmsBusinessClosingConfig(data: any) {
  return axios.post(`${context}/rmsBusinessClosingConfig`, data);
}

/**
 * 修改 RmsBusinessClosingConfig
*/
export function updateRmsBusinessClosingConfig(data: any) {
  return axios.put(`${context}/rmsBusinessClosingConfig`, data);
}

/**
 * 删除 RmsBusinessClosingConfig
*/
export function batchRemoveRmsBusinessClosingConfig(data: any) {
  return axios.post(`${context}/rmsBusinessClosingConfig/batchRemove`, data);
}

    